//2009/08/15 17:43:50
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class InequalityChecker
{
public:
    vector <int> getDifferences(int n)
    {
		int s= 0;
		for(int i=1; i<n; i++) s += i*i*i;
		int S = s + n*n*n;
		int num = 2*(s+S) - n*n*n*n;
		int denom = 4;
		int g = gcd(num, denom);
		num /= g;
		denom /= g;
		vector<int> ret;
		ret.push_back(num);
		ret.push_back(denom);
		return ret;
    }
private:
    int gcd(int a, int b)
    {
		return b==0? a : gcd(b, a%b);
	}
};
//by gmark;
